#ifndef WIDGET_H_
#define WIDGET_H_

#include <iostream>

using namespace std;

class Window
{
public:
	virtual void show() = 0;
};

class PMWindow : public Window
{
public:
	void show() {
		cout<<"I'm PMWindow."<<endl;
	}
};

class MotifWindow : public Window
{
public:
	void show() {
		cout<<"I'm MotifWindow."<<endl;
	}
};


class ScrollBar
{
public:
	virtual void show() = 0;
};

class PMScrollBar : public ScrollBar
{
public:
	void show() {
		cout<<"I'm PMScrollBar."<<endl;
	}
};

class MotifScrollBar : public ScrollBar
{
public:
	void show() {
		cout<<"I'm MotifScrollBar."<<endl;
	}
};

#endif // WIDGET_H_
